package com.xrtn.mapper;

import com.xrtn.bean.InitServiceInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InitServiceInfoMapper {
    int deleteByPrimaryKey(Integer serviceId);

    int insert(InitServiceInfo record);

    int insertSelective(InitServiceInfo record);

    InitServiceInfo selectByPrimaryKey(Integer serviceId);

    List<InitServiceInfo> selectAll(@Param("userId") Integer userId,@Param("state") Integer state,@Param("serviceName") String serviceName);

    InitServiceInfo selectByMap(Map<String,Object> params);

    int updateByPrimaryKeySelective(InitServiceInfo record);

    int updateByPrimaryKey(InitServiceInfo record);
}